function startRequest()
{
  if(!onprogress){
    id = (new Date()).getTime();
    url = "http://localhost/dane.php?id=" + id;
    onprogress = true;
    startGETRequest(url, onComplete, onEnd);
  }
  setTimeout("startRequest()", interval * 1000);
}

